RegisterIdle
Mac OSThe
RegisterIdle
method adds the specified part and frame to the list of parts interested in receiving idle time.
void RegisterIdle (in ODPart part, in ODFrame frame, in ODIdleFrequency frequency);
part
- A reference to a part that is to receive null events.
frame
- A reference to a frame that is to receive null events, or
kODNULL
if the part as a whole is to receive idle time.frequency
- The idle frequency, expressed in ticks (60ths of a second).
DISCUSSION
Your part typically calls this method, if it needs idle time, when a facet or frame is added.SEE ALSO
TheODIdleFrequency
type (page 892).
TheODDispatcher::SetIdleFrequency
method (page 123).
TheODDispatcher::UnregisterIdle
method (page 125).
"Null Events" on page 194 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help